package org.example.Visitor;

/**
 * @author wangbin
 * @date 2024/4/19
 * @vesion 1.0
 */
public class Success extends Action{
    @Override
    public void getManResult(Man man) {
        System.out.println("man =c成功) " );
    }

    @Override
    public void getWomanResult(Woman man) {
        System.out.println("Woman = c成功) " );
    }
}
